<!DOCTYPE html>
<style>
    /* Disable kerning because kerning may differ for different node tree. */
    html { font-kerning: none; }
    #elm { display:block; width:10em; height:10em; visibility:hidden; }
</style>
<p>The word "PASS" should be seen below.</p>
<div>
    P<img id="elm">ASS
</div>
<script>
    document.body.offsetTop;
    document.getElementById("elm").style.float = "left";
</script>
